package pers.xuyong.strive;

import pers.xuyong.strive.genericity.Entity;
import pers.xuyong.strive.genericity.Genericity;

import java.util.ArrayList;

/**
 * 泛型测试
 *
 * @author billymac
 * @version 1.0
 * @date 17/4/20  下午2:43
 * @since JDK1.8
 */
public class Main {

    public static void main(String[] args) {
        Genericity er = new Genericity();
        System.out.println(er.save(new Entity()));
        System.out.println(er.save(new ArrayList<String>()));
//        er.A(new DD());
//        er.A(new Integer(1));
    }
}
